package com.solidtrust.crawler.controller;

import java.io.IOException;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.solidtrust.crawler.service.ImageService;

@Controller
public class ImageCrawler {

	@Autowired ImageService is;
	
	@RequestMapping("/crawl/img")
	public void crawleImage() throws IOException{
		is.start();
	}
}
